<script setup>
import {ref, reactive} from 'vue';
    let counter = ref(100);
    let person = reactive({
        name:"小三",
        age:18
    });
</script>

<template>
    <div>
        <!-- <button @click="--counter">-</button>
        {{ counter }}
        <button @click="++counter">+</button> -->

        你的小三的年龄: <br>
        <button @click="--person.age">-</button>
        &nbsp; {{ person.age }} &nbsp;
        <button @click="++person.age">+</button>
    </div>
</template>

<style scoped>
</style>
